package com.lujianfei.sugarorm;

import com.orm.SugarRecord;
import com.orm.dsl.Column;
import com.orm.dsl.Table;

@Table(name = "Entity")
public class Entity extends SugarRecord {

    @Column(name = "name")
    private String name;

    @Column(name = "updateTime")
    private long updateTime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Entity{" +
                "name='" + name + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
